/*
  页面切换动画预设
*/

/* 渐变 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.1s ease-in-out;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* 缩放 */
.scale-enter-active,
.scale-leave-active {
  transition: transform 0.2s ease-in-out;
}


.scale-enter-from,
.scale-leave-to {
  transform: scale(0);
}

/* 滑动 */
.slide-enter-active,
.slide-leave-active {
  transition: transform 0.2s ease-in-out;
}

.slide-enter-from,
.slide-leave-to {
  transform: translateX(-100%);
}


/* 吸入 */
.suction-enter-active {
  transition: transform 0.2s ease-in-out;
  transform-origin: top left;
}

.suction-leave-active {
  transition: transform 0.3s ease-in-out;
  transform-origin: bottom right;
}


.suction-enter-from {
  transform: scale(0);
}

.suction-leave-to {
  transform: scale(0) skew(80deg, 20deg);
}